// 1.引入vue
import Vue from "vue";
// 2.引入App.vue
import App from "./App";
// 4.es6模块化引入mixin组件
// import { schmixin, hosmixin } from "./components/mymixin";
// import { schmixin } from "./components/mymixin";

// 0.关闭生产提示
Vue.config.productionTip = false;

// 全局注册mixin，需要多个就重复注册多次即可
// Vue.mixin(schmixin);
// Vue.mixin(hosmixin);

Vue.mixin =
    // 3.创建vue实例
    new Vue({
        render: (h) => h(App),
    }).$mount("#app");
